package com.epam.task.web.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * User: zhunusbekova.arailym
 */
public class Product {

    private long id;
    private String name;
    private int quantity;
    private String image;
    private BigDecimal price;
    private Date dateAvailable;
    private Date dateAdded;
    private Date dateModified;
    private int viewedCount;
    private int minimum;
    private int maximum;

    public Product(long id, String name, int quantity, String image, BigDecimal price, Date dateAvailable,
                   Date dateAdded, Date dateModified, int viewedCount, int minimum, int maximum) {
        this.id = id;
        this.name = name;
        this.quantity = quantity;
        this.image = image;
        this.price = price;
        this.dateAvailable = dateAvailable;
        this.dateAdded = dateAdded;
        this.dateModified = dateModified;
        this.viewedCount = viewedCount;
        this.minimum = minimum;
        this.maximum = maximum;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Date getDateAvailable() {
        return dateAvailable;
    }

    public void setDateAvailable(Date dateAvailable) {
        this.dateAvailable = dateAvailable;
    }

    public Date getDateAdded() {
        return dateAdded;
    }

    public void setDateAdded(Date dateAdded) {
        this.dateAdded = dateAdded;
    }

    public Date getDateModified() {
        return dateModified;
    }

    public void setDateModified(Date dateModified) {
        this.dateModified = dateModified;
    }

    public int getViewedCount() {
        return viewedCount;
    }

    public void setViewedCount(int viewedCount) {
        this.viewedCount = viewedCount;
    }

    public int getMinimum() {
        return minimum;
    }

    public void setMinimum(int minimum) {
        this.minimum = minimum;
    }

    public int getMaximum() {
        return maximum;
    }

    public void setMaximum(int maximum) {
        this.maximum = maximum;
    }
}
